

#ifndef GRIDREC
#define GRIDREC

#include "grid.h"
#include <stdio.h>
#include <stdlib.h>
#include <iostream>

using namespace std;

namespace Group5 {

class GridRec {

  public:

  Grid * grid;
  GridRec * father;

  GridRec( Grid*, GridRec* );
  ~GridRec();

  void print_path( GridRec* );
  int path_length( GridRec* );

};

};

#endif
